<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>yLib: /home/sky/yLib/src/utility/yhttp.cpp File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">yLib
   &#160;<span id="projectnumber">V0.0.9 beta</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('yhttp_8cpp.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">yhttp.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="yhttp_8hpp_source.html">utility/yhttp.hpp</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="ylog_8hpp_source.html">utility/ylog.hpp</a>&quot;</code><br />
<code>#include &quot;curl/curl.h&quot;</code><br />
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aafabd99b57672d73f6129435258cd292"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#aafabd99b57672d73f6129435258cd292">__little_endian_uint32_to_buf__</a> (uint8_t *buf_, uint32_t len_)</td></tr>
<tr class="separator:aafabd99b57672d73f6129435258cd292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6eb5e4fb13cd9366d56647a73a4cf68a"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a6eb5e4fb13cd9366d56647a73a4cf68a">__little_endian_buf_to_uint32__</a> (uint8_t *buf_, uint32_t *len_)</td></tr>
<tr class="separator:a6eb5e4fb13cd9366d56647a73a4cf68a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80f827734050d9928eea0c9f70b7a8ad"><td class="memItemLeft" align="right" valign="top">static size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a80f827734050d9928eea0c9f70b7a8ad">write_callback</a> (char *buffer_, size_t size_, size_t nmemb_, void *userdata_)</td></tr>
<tr class="separator:a80f827734050d9928eea0c9f70b7a8ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ebea7ec4cffeadfd972a2ff3caf127e"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a6ebea7ec4cffeadfd972a2ff3caf127e">ProgressCallback</a> (void *clientp, double dltotal, double dlnow, double ultotal, double ulnow)</td></tr>
<tr class="separator:a6ebea7ec4cffeadfd972a2ff3caf127e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc99434a559992c0fd6b3703aaabffc5"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#afc99434a559992c0fd6b3703aaabffc5">__yhttp_check_protocol_type__</a> (const yLib::yHttpRequestParam &amp;request_param_)</td></tr>
<tr class="separator:afc99434a559992c0fd6b3703aaabffc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2177fd7bfb0ef9a2fdc21c50dbce0a2"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#ac2177fd7bfb0ef9a2fdc21c50dbce0a2">__yhttp_create_http_handle__</a> (CURL **ptr_http_handle)</td></tr>
<tr class="separator:ac2177fd7bfb0ef9a2fdc21c50dbce0a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e2bb912503163511d0a5126ed2e556c"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a0e2bb912503163511d0a5126ed2e556c">__yhttp_parse_set_http_header__</a> (CURL *ptr_http_handle, const yLib::yHttpRequestParam &amp;request_param_, curl_slist *http_headers)</td></tr>
<tr class="separator:a0e2bb912503163511d0a5126ed2e556c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b6b23380864436388205405579bd9a0"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a7b6b23380864436388205405579bd9a0">__yhttp_parse_set_http_url__</a> (CURL *ptr_http_handle, const yLib::yHttpRequestParam &amp;request_param_)</td></tr>
<tr class="separator:a7b6b23380864436388205405579bd9a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb63c52234334d7f5d610e571997e23c"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#aeb63c52234334d7f5d610e571997e23c">__yhttp_set_response_callback_buffer__</a> (CURL *ptr_http_handle, uint8_t *data_buffer_ptr_, uint32_t buffer_len_)</td></tr>
<tr class="separator:aeb63c52234334d7f5d610e571997e23c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9e71be92fc99bfb74556c3a3b8bc9ea"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#aa9e71be92fc99bfb74556c3a3b8bc9ea">__yhttp_start_http_session__</a> (CURL *ptr_http_handle)</td></tr>
<tr class="separator:aa9e71be92fc99bfb74556c3a3b8bc9ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a757cb082788307338adf030a41021528"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#a757cb082788307338adf030a41021528">__yhttp_process_http_response__</a> (CURL *ptr_http_handle, uint8_t *data_buffer_ptr_, yLib::yHttpResponseInfo &amp;response_info_)</td></tr>
<tr class="separator:a757cb082788307338adf030a41021528"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee4ced40a19846784889a0a5430b562b"><td class="memItemLeft" align="right" valign="top">static int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="yhttp_8cpp.html#aee4ced40a19846784889a0a5430b562b">__yhttp_cleanup__</a> (CURL *ptr_http_handle_, <a class="el" href="structstruct.html">struct</a> curl_slist *http_headers_, uint8_t *data_buffer_ptr_)</td></tr>
<tr class="separator:aee4ced40a19846784889a0a5430b562b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="a6eb5e4fb13cd9366d56647a73a4cf68a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6eb5e4fb13cd9366d56647a73a4cf68a">&#9670;&nbsp;</a></span>__little_endian_buf_to_uint32__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void __little_endian_buf_to_uint32__ </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buf_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t *&#160;</td>
          <td class="paramname"><em>len_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aafabd99b57672d73f6129435258cd292"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aafabd99b57672d73f6129435258cd292">&#9670;&nbsp;</a></span>__little_endian_uint32_to_buf__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void __little_endian_uint32_to_buf__ </td>
          <td>(</td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>buf_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>len_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="afc99434a559992c0fd6b3703aaabffc5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc99434a559992c0fd6b3703aaabffc5">&#9670;&nbsp;</a></span>__yhttp_check_protocol_type__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_check_protocol_type__ </td>
          <td>(</td>
          <td class="paramtype">const yLib::yHttpRequestParam &amp;&#160;</td>
          <td class="paramname"><em>request_param_</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aee4ced40a19846784889a0a5430b562b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee4ced40a19846784889a0a5430b562b">&#9670;&nbsp;</a></span>__yhttp_cleanup__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_cleanup__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structstruct.html">struct</a> curl_slist *&#160;</td>
          <td class="paramname"><em>http_headers_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>data_buffer_ptr_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ac2177fd7bfb0ef9a2fdc21c50dbce0a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2177fd7bfb0ef9a2fdc21c50dbce0a2">&#9670;&nbsp;</a></span>__yhttp_create_http_handle__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_create_http_handle__ </td>
          <td>(</td>
          <td class="paramtype">CURL **&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0e2bb912503163511d0a5126ed2e556c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e2bb912503163511d0a5126ed2e556c">&#9670;&nbsp;</a></span>__yhttp_parse_set_http_header__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_parse_set_http_header__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const yLib::yHttpRequestParam &amp;&#160;</td>
          <td class="paramname"><em>request_param_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">curl_slist *&#160;</td>
          <td class="paramname"><em>http_headers</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7b6b23380864436388205405579bd9a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b6b23380864436388205405579bd9a0">&#9670;&nbsp;</a></span>__yhttp_parse_set_http_url__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_parse_set_http_url__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const yLib::yHttpRequestParam &amp;&#160;</td>
          <td class="paramname"><em>request_param_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a757cb082788307338adf030a41021528"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a757cb082788307338adf030a41021528">&#9670;&nbsp;</a></span>__yhttp_process_http_response__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_process_http_response__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>data_buffer_ptr_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">yLib::yHttpResponseInfo &amp;&#160;</td>
          <td class="paramname"><em>response_info_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aeb63c52234334d7f5d610e571997e23c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeb63c52234334d7f5d610e571997e23c">&#9670;&nbsp;</a></span>__yhttp_set_response_callback_buffer__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_set_response_callback_buffer__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>data_buffer_ptr_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>buffer_len_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa9e71be92fc99bfb74556c3a3b8bc9ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9e71be92fc99bfb74556c3a3b8bc9ea">&#9670;&nbsp;</a></span>__yhttp_start_http_session__()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int8_t __yhttp_start_http_session__ </td>
          <td>(</td>
          <td class="paramtype">CURL *&#160;</td>
          <td class="paramname"><em>ptr_http_handle</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a6ebea7ec4cffeadfd972a2ff3caf127e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6ebea7ec4cffeadfd972a2ff3caf127e">&#9670;&nbsp;</a></span>ProgressCallback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int ProgressCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>clientp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dltotal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dlnow</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ultotal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ulnow</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a80f827734050d9928eea0c9f70b7a8ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80f827734050d9928eea0c9f70b7a8ad">&#9670;&nbsp;</a></span>write_callback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static size_t write_callback </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buffer_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>nmemb_</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>userdata_</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_0619a8f54b4fad7043a6de45be8fde0b.html">utility</a></li><li class="navelem"><a class="el" href="yhttp_8cpp.html">yhttp.cpp</a></li>
    <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20 </li>
  </ul>
</div>
</body>
</html>
